package com.example.springboot01.taskscheduler;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author keyer
 * @Description : 注解扫描的配置类
 * 1.用@EnableScheduling开启定时任务
 */
@Configuration
@ComponentScan("com.example.springboot01.taskscheduler")
@EnableScheduling
public class TaskSchedulerConfig {

}
